mysql -uroot -p123456 -e"DROP DATABASE IF EXISTS mg_219_luxury;create database mg_219_luxury;show databases;"
/var/www/html/m2/bin/magento setup:install --base-url=http://47.95.218.5/m2/ \
--db-host=localhost --db-name=mg_219_luxury --db-user=root --db-password=123456 \
--admin-firstname=Magento --admin-lastname=User --admin-email=user@example.com \
--admin-user=admin --admin-password=admin123 --language=en_US \
--currency=USD --timezone=Asia/Shanghai --use-rewrites=1
cd /var/www/html
sudo chown -R magento:`egrep -i '^group' /etc/httpd/conf/httpd.conf|awk '{print $2}'` m2
